package business.other.punish.impl;

import business.other.punish.CityMPunishInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.CityMPunishInfo;
import other.domain.CityMPunishInfoCriteria;
import other.mapper.CityMPunishInfoMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "cityMPunishService")
public class CityMPunishInfoServiceImpl implements CityMPunishInfoService {
    @Autowired
    CityMPunishInfoMapper cityMPunishInfoMapper;
    @Override
    public List<CityMPunishInfo> getCityMPunishInfo() {
        CityMPunishInfoCriteria criteria = new CityMPunishInfoCriteria();
        criteria.createCriteria().getAllCriteria();
        return cityMPunishInfoMapper.selectByExample(criteria);
    }
}
